<?php

namespace Home\Model;
use Think\Model\RelationModel;
class CScheduleModel extends RelationModel{
    protected $_link = array(
     'c_course'=>array(
        'mapping_type'=> self::BELONGS_TO,
        'class_name' => 'c_course',
        'foreign_key'   => 'courseid',
         'parent_key'=>'courseid',

    
	 ),);
}